package com.sf.fy.uav.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 优惠券活动表
 * </p>
 *
 * @author LTQ
 * @since 2024-08-26
 */
@TableName("coupon_activity")
@ApiModel(value = "CouponActivity对象", description = "优惠券活动表")
public class CouponActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("活动名称")
    private String activityName;

    @ApiModelProperty("开始活动时间")
    private Date startActivityTime;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("处理人")
    private String processedBy;

    @ApiModelProperty("指定用户类型 0-全部用户,1-新用户")
    private Byte designatedUserType;

    private Boolean deleted;


    @ApiModelProperty("下架原因")
    private String offReason;

    @ApiModelProperty("结束活动时间")
    private Date endActivityTime;

    public String getOffReason() {
        return offReason;
    }

    public void setOffReason(String offReason) {
        this.offReason = offReason;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Date getStartActivityTime() {
        return startActivityTime;
    }

    public void setStartActivityTime(Date startActivityTime) {
        this.startActivityTime = startActivityTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getProcessedBy() {
        return processedBy;
    }

    public void setProcessedBy(String processedBy) {
        this.processedBy = processedBy;
    }

    public Byte getDesignatedUserType() {
        return designatedUserType;
    }

    public void setDesignatedUserType(Byte designatedUserType) {
        this.designatedUserType = designatedUserType;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Date getEndActivityTime() {
        return endActivityTime;
    }

    public void setEndActivityTime(Date endActivityTime) {
        this.endActivityTime = endActivityTime;
    }

    @Override
    public String toString() {
        return "CouponActivity{" +
                "id = " + id +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", activityName = " + activityName +
                ", startActivityTime = " + startActivityTime +
                ", status = " + status +
                ", processedBy = " + processedBy +
                ", designatedUserType = " + designatedUserType +
                ", deleted = " + deleted +
                ", endActivityTime = " + endActivityTime +
                "}";
    }
}
